home *** CD-ROM | disk | FTP | other *** search
- Path: willis.cis.uab.edu!not-for-mail
- From: freund@willis.cis.uab.edu (Jason Freund)
- Newsgroups: comp.sys.amiga.applications
- Subject: PhonePak AREXX Question
- Date: 21 Feb 1996 19:37:56 -0600
- Organization: Dept of CIS, Univ. of Al at Birmingham
- Message-ID: <4gghdk$fp7@oxmoor.cis.uab.edu>
- NNTP-Posting-Host: oxmoor.cis.uab.edu
-
- Hi,
- I want a mailbox that asks for several sets of numbers to be keyed in to
- be used in an AREXX script. Right now, the only way I know to do this is
- to set up a sequence of mailboxes, each one says: "Enter info#1" and then
- calls an AREXX routine to save that info into a tempfile so that future AREXX
- routines can use it. When the first AREXX routine is finished, I want to
- return to PPAK and have it jump to the next box where it will say: "Enter
- info #2", etc.
-
- The problem is that when the first AREXX routine finishes, PPAK says:
- "Thank you, and Goodbye." and then hangs up. It does not follow the mailbox's
- default pointer and I don't know how to get it to jump to another mailbox.
- I am using: "call reply(pkt,0)" to reply.
-
- The manual (p. 178) says:
- "After LineMan issues the AREXX command, it will then pause while your
- program takes whatever action is appropriate. Your program must reply to
- the command when it has finished processing. A non-zero result code will
- end the call. If the result is zero, LineMan will look for a pointer to
- an argstring in the secondary result code which represents the name
- of the mailbox to go to in all capital letters."
-
- I did give lineman a reply code of zero, but I don't know how to give it
- a pointer to an argstring in the "secondary result code" with the name of
- the next mailbox to jump to. Can someone give me a couple of AREXX lines
- of code thay basically do
- 1. reply to lineman with 0
- 2. Tell lineman to jump to MBOX2 using some secondary result code
-
- Thanks,
- --
- Jason Freund Addr: 413-B Poplar Place email: freund@cis.uab.edu
- Phone: 205-802-7345(V/F) Birmingham, AL 35209 Amiga3000 & 486/Linux
- http://www.cis.uab.edu/info/grads/jlf/jason.html
-